<div class='sole-index' ng-controller='SoleIndex'>
    <div class='header' ng-click='open("User/info")'>
        <div class='user-icon'>
            <img ng-src='{{user.headimgurl}}' class='head-icon' ng-click='open("User/info")'>
            <img src='../image/user/edit.png' class='edit'>
        </div>
        <div class='user-name'>
            {{user.nickname}}
        </div>
    </div>
    
    <div class='money-info'>
        <div class='am-avg-sm-2'>
            <li ng-click='open("Sole/withdraw_log")'>
                <div class='count'>¥{{user.amount}}</div>
                <div class='name'>累计金额</div>
            </li>
            <li ng-click='open("Sole/deduct")'>
                <div class='count'>¥{{user.wallet}}</div>
                <div class='name'>可提现金额</div>
            </li>
        </div>
    </div> 

    <div class='modules'>
        <div class='am-avg-sm-3'>
            <li ng-repeat='module in modules'>
                <div class='module' ng-click='open(module.url)'>
                    <div class='icon'>
                        <img ng-src='{{module.icon}}'>
                    </div>
                    <div class='name'>{{module.name}}</div>
                </div>
            </li>
        </div>
    </div>
</div>
